projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4fc901
)
[broadway] Only allow one input session
author
Alexander Larsson
<alexl@redhat.com>
Thu, 25 Nov 2010 12:25:56 +0000
(13:25 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Thu, 25 Nov 2010 21:09:33 +0000
(22:09 +0100)
gdk/broadway/gdkdisplay-broadway.c
patch
|
blob
|
history
diff --git
a/gdk/broadway/gdkdisplay-broadway.c
b/gdk/broadway/gdkdisplay-broadway.c
index 9c480da93611a12db831716ff28ecf49e6e8fae3..4e38048e945f7fa8cc0371df8c0aad0c187d22e2 100644
(file)
--- a/
gdk/broadway/gdkdisplay-broadway.c
+++ b/
gdk/broadway/gdkdisplay-broadway.c
@@
-236,6
+236,12
@@
start_input (HttpRequest *request)
display_broadway = GDK_DISPLAY_BROADWAY (request->display);
+ if (display_broadway->input != NULL)
+ {
+ send_error (request, 409, "Input already handled");
+ return;
+ }
+
lines = g_strsplit (request->request->str, "\n", 0);
num_key1 = 0;